import request from '@/utils/request'

// 开始排盘
export const startsApi = (data) => {
  return request.post('/pgQiMen/starts', data)
}

// 斗转星移
export const douZhuanXingYiApi = (data) => {
  return request.post('/pgQiMen/douZhuanXingYi', data)
}

// 获取解释数据
export const getOtherDataApi = (data) => {
  return request.post('/pgQiMen/other', data)
}

// 获取当前农历日期、日柱时柱、十二时辰
export const getNowLunarDateApi = (data) => {
  return request.post('/tools/nowLunarDate', data)
}

// 获取当前日期的干支
export const getNowGanZhiApi = (data) => {
  return request.post('/tools/ganZhi', data)
}

// 通过干支获取日期
export const ganZhiToDateApi = (data) => {
  return request.post('/tools/ganZhiToDate', data)
}
